<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>风险控制系统</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            padding: 60px;
            text-align: center;
            max-width: 600px;
            width: 90%;
        }
        .logo {
            font-size: 3em;
            color: #ff6b6b;
            margin-bottom: 20px;
        }
        h1 {
            color: #333;
            margin-bottom: 20px;
            font-size: 2.5em;
        }
        .description {
            color: #666;
            margin-bottom: 40px;
            font-size: 1.2em;
            line-height: 1.6;
        }
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }
        .feature {
            padding: 20px;
            background: #fff5f5;
            border-radius: 10px;
            border: 2px solid #ffe0e0;
        }
        .feature h3 {
            color: #ff6b6b;
            margin-bottom: 10px;
        }
        .btn {
            display: inline-block;
            padding: 15px 40px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-size: 1.1em;
            font-weight: bold;
            transition: transform 0.3s ease;
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
        }
        .system-info {
            margin-top: 40px;
            padding: 20px;
            background: #f0f2f5;
            border-radius: 10px;
            border-left: 4px solid #ff6b6b;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo">🛡️</div>
        <h1>风险控制系统</h1>
        <p class="description">
            基于 Spring Boot 3 + OAuth2 + JWT 的企业级风险控制系统<br>
            实时监控、智能分析、精准防控
        </p>
        
        <div class="features">
            <div class="feature">
                <h3>🔍 实时监控</h3>
                <p>24/7 风险监控</p>
            </div>
            <div class="feature">
                <h3>📊 智能分析</h3>
                <p>AI 风险评估</p>
            </div>
            <div class="feature">
                <h3>⚡ 快速响应</h3>
                <p>自动风险处理</p>
            </div>
        </div>
        
        <a href="/oauth2/authorization/risk-client" class="btn">立即登录</a>
        
        <div class="system-info">
            <h4>🔐 单点登录说明</h4>
            <p>本系统采用 OAuth2 + JWT 技术实现单点登录，与 OA 系统共享身份认证。</p>
            <br>
            <p><strong>测试账号：</strong></p>
            <p>管理员：admin / 123456</p>
            <p>风控专员：risk_user / 123456</p>
            <p>普通用户：user / 123456</p>
        </div>
    </div>
</body>
</html> 